home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
wildcat
/
lach102.zip
/
LACH.EXE
/
HELPER.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-01-14
|
19KB
|
927 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 19370 bytes 03/09/122 08:28:16am
'! Code Segment Size :8053 bytes
'! Data Segment Size :4500 bytes
'! String Segment Size:11317 bytes
'! Compiled with WCC version 4.12
Dim i4463 As Integer
Dim i4465 As Integer
Dim s4467 As String*1
Dim s4468 As String
Dim s4472 As String
Dim s4476 As String
Dim s4480 As String
Dim s4484 As String
Dim s4488 As String
Dim s4492 As String
Dim s4496 As String
Dim l65480_ As Long
Dim i65484_ As Integer
Dim l65486_ As Long
Dim i65490_ As Integer
Dim l65492_ As Long
Dim i65496_ As Integer
Dim l65498_ As Long
Dim i65502_ As Integer
Dim l65504_ As Long
Dim i65508_ As Integer
Dim l65510_ As Long
Dim i65514_ As Integer
Dim l65516_ As Long
Dim i65520_ As Integer
Dim l65522_ As Long
Dim i65526_ As Integer
Dim s65528_ As String
Dim s65532_ As String
Do
Do
Do
Do
Do
Do
Do
40 Cls
MorePrompt(0)
Locate 6, 19
Print "@0D@L@05@achrymator @0D@E@05@xtras @0D@S@05@etup @0D@U@05@tility @0D@1@05@.1"
Locate 7, 16
Print "@08@Copyright (c) 1995 Sick & Twisted Software"
Locate 9, 22
Print "@08@[@09@1@08@]......@07@Add an Extras module"
Locate 10, 22
Print "@08@[@09@2@08@]...@07@Help on WC! Color Codes"
Locate 11, 22
Print "@08@[@09@3@08@]...@07@Quit to SysOp Utilities"
Locate 13, 25
Print "@09@Enter your choice @08@[@89@?@08@]"
Locate 13, 44
Do
151 s4467 = InKey(1213417543)
If InStr("123", UCase(s4467)) Then
GoTo 200
End If
194 Loop
200 If UCase(s4467) = "1" Then
Else
228 If UCase(s4467) = "2" Then
GoTo 5565
End If
256 If UCase(s4467) = "3" Then
End
End If
End If
Do
Do
Do
Do
279 Cls
MorePrompt(0)
Locate 5, 1
Print "@09@Please select one of the following options: "
Locate 7, 1
Print "@08@(@0F@1@08@) @0C@Install Extras Module @0F@AND @0C@Edit Extras Module Configuration File"
Locate 8, 1
Print "@08@(@0F@2@08@) @0C@Extras Module Configuration File Editor"
Locate 9, 1
Print "@08@(@0F@3@08@) @0C@View and/or kill the Lachrymator EXTRAS.DAT File"
Locate 10, 1
Print "@08@(@0F@4@08@) @0C@Quit back to the main menu"
Locate 12, 1
Print "@09@If you haven't installed it yet then @0F@PLEASE @09@run option 1."
Locate 13, 1
Print "@09@Option 2 is @0F@ONLY @09@if you need to edit your Configuration at a later date."
Locate 14, 1
Print "@09@Option 3 is @0F@ONLY @09@for viewing and/or killing (deleting) the EXTRAS.DAT File."
Locate 16, 1
Print "@09@What's it gonna be? @08@(@0F@1@08@,@0F@2@08@,@0F@3@08@,@0F@4@08@) @04@[@87@?@04@]"
Locate 16, 33
Do
438 s4467 = InKey(1213417543)
If InStr("1234", UCase(s4467)) Then
GoTo 487
End If
481 Loop
487 s65532_ = UCase(s4467)
If s65532_ = "1" Then
GoTo 1134
GoTo 622
End If
529 If s65532_ = "2" Then
GoTo 5657
GoTo 622
End If
558 If s65532_ = "3" Then
GoTo 622
GoTo 622
End If
587 If s65532_ = "4" Then
GoTo 40
GoTo 622
End If
616 Loop
622 If (Exists(ProgPath + "extras.dat")) = 0 Then GoTo 1011
Cls
MorePrompt(0)
Locate 2, 1
DisplayTextFile(ProgPath + "extras.dat")
Print Space(78)
Print Space(78)
Print "@09@Match the Path with the Description @0F@BELOW @09@it......:)"
Print Space(78)
Print "@09@DELETION OF THE EXTRAS.DAT WILL UNINSTALL @0F@ALL @09@EXTRAS MODULES FROM LACHRYMATOR"
Print Space(78)
Print "@0C@Do you wish to @0F@DELETE @0C@the above @0F@EXTRAS.DAT @0C@file? @08@(@0F@y@08@/@0F@N@08@) @04@[@87@?@04@]";
Locate CsrLin, Pos - 2
Do
746 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 791
End If
785 Loop
791 If (UCase(s4467) = "Y") = 0 Then GoTo 999
Cls
MorePrompt(1213417543)
CopyFile(ProgPath + "extras.dat", ProgPath + "extras.bak")
Del ProgPath + "extras.dat"
Locate 7, 15
Print "@0F@EXTRAS.DAT @0C@has been deleted per your request."
Locate 10, 1
Print "@0F@ALL @0C@Extras Modules have now been successfully @0F@UNINSTALLED@0C@."
Locate 11, 1
Print "@0C@A Backup of @0F@EXTRAS.DAT @0C@has been made in case you have just made a mistake :)"
Locate 12, 1
Print "@0C@The Filename is @0F@EXTRAS.BAK @0C@- If you don't need it feel free to delete it!"
Locate 15, 18
Print "@89@Press any key to continue....."
Do
942 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 987
End If
981 Loop
987 Loop
GoTo 1005
999 Loop
1005 GoTo 1134
1011 Cls
MorePrompt(0)
Locate 10, 10
Print "@07@ERROR DETECTED: @0C@File not Found - EXTRAS.DAT"
Locate 11, 10
Print "@07@Make sure that this Program is run from the Lachrymator Directory"
Locate 12, 10
Print "@07@Ensure that EXTRAS.DAT exists in your Lachrymator Directory"
Locate 15, 20
Print "@89@Press any key to continue....."
Do
1083 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 1128
End If
1122 Loop
1128 Loop
1134 Cls
MorePrompt(0)
Locate 2, 1
Print "@1F@ Instructions for Installing Extras into Lachrymator "
Locate 4, 1
Print "@09@You will need the following in order for this to succeed:"
Locate 5, 5
Print "@08@[@0F@1@08@] @09@A @0F@REGISTERED @09@Copy of Lachrymator"
Locate 6, 5
Print "@08@[@0F@2@08@] @09@The @0F@COMPLETE @09@Path to the .WCX File that will be run as an Extra"
Locate 7, 5
Print "@08@[@0F@3@08@] @09@The Description you wish to use for the Extra Game Module@8F@*"
Locate 8, 5
Print "@08@[@0F@4@08@] @09@The @0F@COMPLETE @09@Path to your Lachrymator Files"
Locate 9, 5
Print "@08@[@0F@5@08@] @09@The REGISTRATION NUMBER for the Other Place @08@(@07@Optional@08@)"
Locate 11, 1
Print "@09@Before attempting to run this utility PLEASE make sure to have all the above"
Locate 13, 1
Print "@8F@* @04@You can also use the @0C@AUTODETECT @04@feature of this program"
Locate 14, 1
Print "@04@if you want to use the default other place description......"
Locate 15, 1
Print "@04@Or of course feel free to customize the description yourself! :)"
Locate 16, 1
Print "@04@For Help on Wildcat Color Codes see option 2 on the previous menu."
Locate 18, 1
Print "@09@Are you sure you want to continue? @08@(@0F@Y@08@/@0F@N@08@) @09@[@88@?@09@]"
Locate 18, 43
Do
1357 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 1406
End If
1400 Loop
1406 If (UCase(s4467) = "N") = 0 Then GoTo 1434
Loop
1434 Cls
MorePrompt(0)
Locate 1, 1
Print "@09@Please be sure to hit Enter after each response is complete."
Locate 2, 1
Print "@09@Type QUIT at any of the following prompts to abort installation."
Do
Do
1474 Locate 4, 1
Print "@09@Please enter the @0F@COMPLETE @09@path to your Lachrymator Directory"
Locate 5, 1
s4476 = InputMask("@08@(@07@Example D:\WILDCAT\LACH\@08@)@0F@ ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (UCase(s4476) = "") = 0 Then GoTo 1550
Loop
1550 If UCase(s4476) = "QUIT" Then
GoTo 40
End If
1576 If Exists(s4476 + "lachuser.dat") Then
Locate 6, 1
Print "@09@Path @0F@VERIFIED!"
Delay 2
Locate 6, 1
Print Space(78)
GoTo 1925
End If
1642 Locate 6, 1
Print "@84@ERROR! @09@Valid Lachrymator Files not Detected"
Print "@09@Would you like to enter that path again? @08@[@09@Y@08@/@09@N@08@]"
Do
1667 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 1716
End If
1710 Loop
1716 If (UCase(s4467) = "Y") = 0 Then GoTo 1863
1759 For i4465 = 4 To 7 Step 1
Locate i4465, 1
Print Space(78)
Next
1851 Loop
GoTo 1925
1863 Locate 6, 1
Print Space(78)
Locate 7, 1
Print Space(78)
Locate 7, 1
Print "@09@Thanks for using the Extras Setup Util - Returning to Main Menu"
Delay 2
Loop
Do
Do
1925 Locate 7, 1
Print "@09@Please enter the @0F@COMPLETE @09@path to the .WCX to be used"
Locate 8, 1
s4468 = InputMask("@08@(@07@Example: D:\EXAMPLE\EXAMPLE.WCX@08@)@0F@ ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (UCase(s4468) = "") = 0 Then GoTo 2001
Loop
2001 If UCase(s4468) = "QUIT" Then
GoTo 40
End If
2027 If Exists(s4468) Then
Locate 9, 1
Print "@09@Path and File @0F@VERIFIED!"
Delay 2
Locate 9, 1
Print Space(78)
GoTo 2376
End If
2086 Locate 9, 1
Print "@84@ERROR! @09@File / Path not Detected!!!!!!!!"
Locate 10, 1
Print "@09@Would you like to enter that info again? @08@[@09@Y@08@/@09@N@08@]"
Do
2118 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 2167
End If
2161 Loop
2167 If (UCase(s4467) = "Y") = 0 Then GoTo 2314
2210 For i4465 = 7 To 11 Step 1
Locate i4465, 1
Print Space(78)
Next
2302 Loop
GoTo 2376
2314 Locate 9, 1
Print Space(78)
Locate 10, 1
Print Space(78)
Locate 10, 1
Print "@09@Thanks for using the Extras Setup Util - Returning to Main Menu"
Delay 2
Loop
Do
Do
Do
2376 Locate 10, 1
Print "@09@Please enter the description that will be shown to the players"
Locate 11, 1
Print "@09@Type @0F@AUTO @09@for Autodetection of Description for this Other Place."
Locate 12, 1
s4472 = InputMask("@0F@", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (UCase(s4472) = "") = 0 Then GoTo 2468
Loop
2468 If UCase(s4472) = "QUIT" Then
GoTo 40
End If
2494 If (UCase(s4472) = "AUTO") = 0 Then GoTo 3056
Do
2514 Locate 10, 1
Print "@09@Please enter the path to the other place:";
ClrEOL
Locate 11, 1
ClrEOL
Locate 12, 1
ClrEOL
Locate 11, 1
s4480 = InputMask("@08@(@07@EXAMPLE: d:\wildcat\lach\example\@08@)@0F@ ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If Exists(s4480 + "opsdesc.lac") Then
i4463 = FreeFile
Open s4480 + "opsdesc.lac" For Input As i4463
Input #i4463, s4484
Close i4463
s4472 = s4484
GoTo 3056
GoTo 3056
End If
2682 Locate 10, 1
Print "@84@ERROR!! ERROR!! @0C@OPSDESC.LAC file not found!";
ClrEOL
Locate 11, 1
Print "@09@Are you sure you entered the correct path? @08@(@07@Y@08@/@07@N@08@)";
ClrEOL
Do
2720 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 2769
End If
2763 Loop
2769 If (UCase(s4467) = "N") = 0 Then GoTo 2803
Loop
GoTo 3056
2803 Locate 10, 1
Print "@0C@Please check in whatever directory you placed the other place";
ClrEOL
Locate 11, 1
Print "@0C@Make sure that the file @0F@OPSDESC.LAC @0C@is in that directory";
ClrEOL
Locate 12, 1
Print "@0C@If it's not there then please contact a Lachrymator Support BBS";
ClrEOL
Locate 13, 1
Print "@0C@You can find the numbers for those in your SYSOP.DOC file";
ClrEOL
Locate 14, 1
Print "@07@----------@09@HIT ANY KEY TO CONTINUE@07@----------"
Do
2895 s4467 = InKey(1213417543)
If UCase(s4467) > "" Then
GoTo 2943
End If
2937 Loop
2943
2964 For i4465 = 10 To 14 Step 1
Locate i4465, 1
ClrEOL
Next
3050 Loop
3056 Locate 10, 1
Print "@09@Here's what you designated as the description:@07@";
ClrEOL
Locate 11, 1
Print s4472;
ClrEOL
Locate 12, 1
ClrEOL
Locate 13, 1
Print "@09@Is this acceptable to you oh Mighty SysGod? @08@(@09@Y@08@/@09@N@08@)";
ClrEOL
Do
3122 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 3171
End If
3165 Loop
3171
3192 For i4465 = 10 To 13 Step 1
Locate i4465, 1
Print Space(78)
Next
3284 If UCase(s4467) = "Y" Then
GoTo 3437
GoTo 3437
End If
3318
3339 For i4465 = 10 To 12 Step 1
Locate i4465, 1
Print Space(78)
Next
3431 Loop
Do
Do
Do
3437 Cls
MorePrompt(0)
Locate 1, 1
Print "@1F@ Lachrymator Extras Setup Utility 1.0 @04@"
Locate 3, 1
Print "@09@This is what you selected for settings..."
Locate 5, 1
Print "@09@Lachrymator Path : " + "@0F@" + s4476
Locate 6, 1
Print "@09@Path to .WCX File: " + "@0F@" + s4468
Locate 7, 1
Print "@09@Description : " + "@07@" + s4472
Locate 9, 1
Print "@09@Is this acceptable oh Mighty SysGod? @08@[@09@Y@08@/@09@N@08@]"
Do
3580 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 3629
End If
3623 Loop
3629 If (UCase(s4467) = "N") = 0 Then GoTo 5056
Locate 9, 1
ClrEOL
Locate 9, 1
Print "@09@What would you like to change?"
Locate 11, 1
Print "@08@(@0F@1@08@) @09@Path to Lachrymator Files: " + "@07@" + s4476
Locate 12, 1
Print "@08@(@0F@2@08@) @09@Path to the Other Place : " + "@07@" + s4468
Locate 13, 1
Print "@08@(@0F@3@08@) @09@Other Place Description : " + "@07@" + s4472
Locate 14, 1
Print "@08@(@0F@4@08@) @09@Forget it - Abort the Installation"
Locate 15, 1
Print "@08@(@0F@5@08@) @09@No Changes Necessary"
Do
3796 Locate 17, 1
Print "@0C@What'll it be? @09@(@0F@1@08@,@0F@2@08@,@0F@3@08@,@0F@4@08@,@0F@5@09@) @08@[@84@?@08@]"
Locate 17, 31
Do
3819 s4467 = InKey(1213417543)
If InStr("12345", UCase(s4467)) Then
GoTo 3868
End If
3862 Loop
3868 s65528_ = UCase(s4467)
If s65528_ = "1" Then
Do
Do
3898 Cls
Locate 4, 1
Print "@09@Please enter the @0F@COMPLETE @09@path to your Lachrymator Directory"
Locate 5, 1
s4476 = InputMask("@08@(@07@Example D:\WILDCAT\LACH\@08@)@0F@ ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (UCase(s4476) = "") = 0 Then GoTo 3977
Loop
3977 If UCase(s4476) = "QUIT" Then
GoTo 40
End If
4003 If Exists(s4476 + "lachuser.dat") Then
Locate 6, 1
Print "@09@Path @0F@VERIFIED!"
Delay 2
Locate 6, 1
Print Space(78)
GoTo 4352
End If
4069 Locate 6, 1
Print "@84@ERROR! @09@Valid Lachrymator Files not Detected"
Print "@09@Would you like to enter that path again? @08@[@09@Y@08@/@09@N@08@]"
Do
4094 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 4143
End If
4137 Loop
4143 If (UCase(s4467) = "Y") = 0 Then GoTo 4290
4186 For i4465 = 4 To 7 Step 1
Locate i4465, 1
Print Space(78)
Next
4278 Loop
GoTo 4352
4290 Locate 6, 1
Print Space(78)
Locate 7, 1
Print Space(78)
Locate 7, 1
Print "@09@Thanks for using the Extras Setup Util - Returning to Main Menu"
Delay 2
GoTo 40
4352 GoTo 5050
End If
4358 If s65528_ = "2" Then
Do
Do
4375 Cls
Locate 7, 1
Print "@09@Please enter the @0F@COMPLETE @09@path to the .WCX to be used"
Locate 8, 1
s4468 = InputMask("@08@(@07@Example: D:\EXAMPLE\EXAMPLE.WCX@08@)@0F@ ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (UCase(s4468) = "") = 0 Then GoTo 4454
Loop
4454 If UCase(s4468) = "QUIT" Then
GoTo 40
End If
4480 If Exists(s4468) Then
Locate 9, 1
Print "@09@Path and File @0F@VERIFIED!"
Delay 2
Locate 9, 1
Print Space(78)
GoTo 4829
End If
4539 Locate 9, 1
Print "@84@ERROR! @09@File / Path not Detected!!!!!!!!"
Locate 10, 1
Print "@09@Would you like to enter that info again? @08@[@09@Y@08@/@09@N@08@]"
Do
4571 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 4620
End If
4614 Loop
4620 If (UCase(s4467) = "Y") = 0 Then GoTo 4767
4663 For i4465 = 7 To 11 Step 1
Locate i4465, 1
Print Space(78)
Next
4755 Loop
GoTo 4829
4767 Locate 9, 1
Print Space(78)
Locate 10, 1
Print Space(78)
Locate 10, 1
Print "@09@Thanks for using the Extras Setup Util - Returning to Main Menu"
Delay 2
GoTo 40
4829 GoTo 5050
End If
4835 If s65528_ = "3" Then
Cls
GoTo 2376
GoTo 5050
End If
4867 If (s65528_ = "4") = 0 Then GoTo 5015
Locate 17, 1
ClrEOL
Locate 17, 1
Print "@0C@Are you sure you want to quit the installation? @08@(@07@Y@08@/@07@N@08@)"
Do
4910 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 4959
End If
4953 Loop
4959 If UCase(s4467) = "Y" Then
GoTo 40
GoTo 5009
End If
4993 Locate 16, 1
ClrEOL
Loop
5009 GoTo 5050
5015 If (s65528_ = "5") = 0 Then GoTo 5044
Loop
GoTo 5050
5044 Loop
5050 Loop
5056 Locate 9, 1
Print Space(78)
Locate 9, 1
Print "@84@Writing to EXTRAS.DAT - Please Hold"
If Exists(s4476 + "extras.dat") Then
i4463 = FreeFile
Open s4476 + "extras.dat" For Append As i4463
Print #i4463, s4468
Print #i4463, s4472
Close i4463
Else
5183 i4463 = FreeFile
Open s4476 + "extras.dat" For Output As i4463
Print #i4463, s4468
Print #i4463, s4472
Close i4463
End If
5252 Delay 1
Locate 9, 1
ClrEOL
Locate 9, 1
Print "@09@Would you like to edit the Configuration File now? @08@(@0D@Y@08@/@0D@n@08@) @08@[@89@?@08@]"
Locate 10, 1
Print "@09@It is @0F@STRONGLY @09@recommended that you edit it now."
Print "@09@The Extras Module will not run without it being edited."
Locate 9, 60
Do
5318 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 5367
End If
5361 Loop
5367 If UCase(s4467) = "Y" Then
GoTo 5657
End If
5395 Locate 9, 1
ClrEOL
Locate 10, 1
ClrEOL
Locate 9, 1
Print "@0D@You Have opted @0F@NOT @0D@to edit the .CFG file for the Other Place."
Locate 10, 1
Print "@0D@The .CFG File @0F@MUST @0D@be edited before the Other Place will run!"
Locate 11, 1
Print "@0D@You can use our Config Editor that is part of this Installation Program!"
Locate 12, 1
Print "@0D@Just select @0F@Add an Extras Module @0D@from the Main Menu"
Locate 13, 1
Print "@0D@Then just simply select @0F@Configuration File Editor@0D@."
Locate 14, 1
Print "@07@----------@09@HIT ANY KEY TO CONTINUE@07@----------"
Do
5511 s4467 = InKey(1213417543)
If UCase(s4467) > "" Then
GoTo 5559
End If
5553 Loop
5559 Loop
5565 Cls
MorePrompt(0)
DisplayTextFile(ProgPath + "helper.bbs")
Locate 23, 22
Print "@1F@ Press Any Key To Return To Menu @04@"
Do
5603 s4467 = InKey(1213417543)
If UCase(s4467) > "" Then
GoTo 5651
End If
5645 Loop
5651 Loop
5657 Cls
MorePrompt(0)
Locate 2, 1
Print "@1F@ Other Places Configuration File Editor "
Locate 4, 1
Print "@09@Before you continue, Please have the following Information:"
Locate 6, 1
Print "@08@[@0F@1@08@] @09@The @0F@COMPLETE @09@Path to the Other Place."
Locate 7, 1
Print "@08@[@0F@2@08@] @09@The Registration Number for the Other Place @08@(@07@Optional@08@)"
Locate 8, 1
Print "@08@[@0F@3@08@] @09@The Name of the user who registered it for you"
Locate 9, 1
Print "@08@ (Optional - and Only Functional in Registered Version)"
Locate 10, 1
Print "@08@[@0F@4@08@] @09@The filename of the Other Place you are installing"
Locate 11, 1
Print "@08@[@0F@5@08@] @09@The @0F@COMPLETE @09@Path to your Lachrymator Directory"
Locate 13, 1
Print "@0C@Do you have all the Necessary Info? @08@(@0F@Y@08@/@0F@N@08@) @0C@[@88@?@0C@]"
Locate 13, 45
Do
5816 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 5865
End If
5859 Loop
5865 If UCase(s4467) = "Y" Then
GoTo 6118
GoTo 6118
End If
5899 Cls
MorePrompt(0)
Locate 5, 1
Print "@09@No Big Deal Really....Just go and gather the necessary Info"
Locate 6, 1
Print "@09@Once you have it all together then just reenter this Utility"
Locate 7, 1
Print "@09@and select @0F@Add an Extras Module @09@from the Main Menu."
Locate 8, 1
Print "@09@From the next menu select @0F@Edit Configuration File@09@."
Locate 9, 1
Print "@09@That will put ya right back where you need to be!"
Locate 10, 1
Print "@09@Then just edit the configuration file for your new other place"
Locate 11, 1
Print "@09@Then you'll be all set! Thanks for using this Program....."
Locate 12, 1
Print "@09@and for running @04@Lachrymator @09@on your BBS......"
Locate 13, 1
Print "@09@We at S&T Software TRULY appreciate it!"
Locate 15, 1
Print "@07@<<<<<<<<<<<<<<<@0F@PRESS ANY KEY TO CONTINUE@07@>>>>>>>>>>>>>>>"
Do
6067 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 6112
End If
6106 Loop
6112 Loop
Do
6118 Cls
MorePrompt(0)
Do
6126 Locate 2, 1
Print "@09@Enter the File Name of the Extras Module without the .wcx extension"
Locate 3, 1
Print "@08@[@07@EXAMPLE: Requiem @08@] @08@Make sure not to add the .wcx at the end"
Locate 4, 1
s4488 = InputMask("@0F@", "XXXXXXXX", "", 1213417543)
If UCase(s4488) = "QUIT" Then
GoTo 40
End If
6218 If (UCase(s4488) = "") = 0 Then GoTo 6244
Loop
Do
6244 Locate 6, 1
Print "@09@Enter the PATH to the Extras Module:"
Locate 7, 1
Print "@08@[@07@EXAMPLE: d:\wildcat\lach\example\ @08@]"
Locate 8, 1
s4480 = InputMask("@0F@", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If UCase(s4480) = "QUIT" Then
GoTo 40
End If
6336 If (UCase(s4480) = "") = 0 Then GoTo 6362
Loop
6362 If Exists(s4480 + s4488 + ".wcx") Then
Locate 9, 1
Print "@09@Information @0F@VERIFIED!"
Delay 2
GoTo 6549
End If
6418 Locate 10, 1
Print "@84@ERROR!! @09@Some or All of the info you have provided is incorrect."
Locate 11, 1
Print "@09@Please try again - Make sure to put that trailing Backslash"
Locate 12, 1
Print "@09@at the end of the path...and make sure that the filename you"
Locate 13, 1
Print "@09@Provided is correct...."
Locate 14, 1
Print "@07@<<<<<<<<<<<<<<<<<<<< @0F@PRESS ANY KEY TO CONTINUE @07@>>>>>>>>>>>>>>>>>>>>"
Do
6498 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 6543
End If
6537 Loop
6543 Loop
Do
Do
6549 Locate 9, 1
ClrEOL
Locate 10, 1
Print "@09@Please enter the PATH to your Lachrymator Directory"
Locate 11, 1
Print "@08@[@07@EXAMPLE: d:\wildcat\lach\ @08@]"
Locate 12, 1
s4476 = InputMask("@0F@", "XXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (UCase(s4476) = "") = 0 Then GoTo 6651
Loop
6651 If UCase(s4476) = "QUIT" Then
GoTo 40
End If
6677 If Exists(s4476 + "extras.dat") Then
Locate 13, 1
Print "@09@Path @0F@VERIFIED!"
Delay 2
GoTo 6933
End If
6727 Locate 13, 1
Print "@84@ERROR! @09@The path you entered can't be verified"
Locate 14, 1
Print "@09@Please make sure you added the trailing backslash"
Locate 15, 1
Print "@07@<<<<<<<<<<<<<<<<<<<< @0F@PRESS ANY KEY TO CONTINUE @07@>>>>>>>>>>>>>>>>>>>>"
Do
6775 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 6820
End If
6814 Loop
6820
6841 For i4465 = 13 To 16 Step 1
Locate i4465, 1
ClrEOL
Next
6927 Loop
6933 Locate 13, 1
ClrEOL
Do
6943 Locate 14, 1
Print "@09@Please enter the Registration Number for the Extras Module:"
Locate 15, 1
s4496 = InputMask("@09@If Not Reg'd then Use @0F@0@09@:@0F@ ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If UCase(s4496) = "QUIT" Then
GoTo 40
End If
7019 If (UCase(s4496) = "") = 0 Then GoTo 7045
Loop
7045 Locate 16, 1
Print "@0F@Thank You!"
Delay 2
Locate 16, 1
ClrEOL
Do
7079 Locate 17, 1
Print "@09@Enter the name of the user who registered the Extras Module:"
Locate 18, 1
s4492 = InputMask("@09@If None then use @0F@UNREGISTERED@09@: @0F@", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If UCase(s4492) = "QUIT" Then
GoTo 40
End If
7155 If (UCase(s4492) = "") = 0 Then GoTo 7181
Loop
7181 s4492 = UCase(s4492)
Locate 19, 1
Print "@0F@Thank You!"
Delay 2
Locate 19, 1
ClrEOL
Do
7226 Cls
MorePrompt(0)
Locate 2, 1
Print "@09@This is what you've selected for settings:"
Locate 5, 1
Print "@09@Path to Lachrymator Directory: " + "@0F@" + s4476
Locate 6, 1
Print "@09@Registration Number : " + "@0F@" + s4496
Locate 7, 1
Print "@09@User to give credit to : " + "@0F@" + s4492
Locate 10, 1
Print "@09@Is all the information as you want it? @08@(@07@Y@08@/@07@N@08@) @04@[@88@?@04@]"
Locate 10, 47
Do
7360 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 7409
End If
7403 Loop
7409 If UCase(s4467) = "Y" Then
Locate 10, 1
ClrEOL
GoTo 7557
End If
7447 Locate 10, 1
Print "@09@This will require starting the CFG Editor over - Are you sure? @08@(@07@Y@08@/@07@N@08@) @04@[@88@?@04@]"
Locate 10, 71
Do
7470 s4467 = InKey(1213417543)
If InStr("YN", UCase(s4467)) Then
GoTo 7519
End If
7513 Loop
7519 If (UCase(s4467) = "Y") = 0 Then GoTo 7547
Loop
7547 Locate 10, 1
ClrEOL
7557 Locate 10, 1
Print "@84@Writing to " + "@84@" + Trim(UCase(s4480)) + "@84@" + Trim(UCase(s4488)) + "@84@.CFG"
Delay 2
i4463 = FreeFile
Open s4480 + s4488 + ".cfg" For Output As i4463
Print #i4463, s4476
Print #i4463, s4496
Print #i4463, s4492
Print #i4463, "-----------------------------------------------------------------------------"
Print #i4463, "Configuration File Explaination/Definitions"
Print #i4463, "Line 1: COMPLETE path to your lachrymator directory (include trailing backslash)"
Print #i4463, " example: d:\wildcat\lach10\"
Print #i4463, "Line 2: Your Extras Module registration number"
Print #i4463, " example: 1234567890"
Print #i4463, "Line 3: Who to give credit to for registration (if none then put UNREGISTERED)"
Print #i4463, " example: John Q. Public"
Print #i4463, "NO OTHER LINES ARE USED...SO MAKE SURE THAT YOU FILLED THEM IN CORRECTLY :)"
Print #i4463, "-----------------------------------------------------------------------------"
Close i4463
Locate 10, 1
Print "@04@Configuration File Written!@BELL@";
ClrEOL
Locate 11, 1
Print "@09@You're all set - your new Extras Module is now installed!"
Locate 12, 1
Print "@09@If you encounter ANY dificulties PLEASE contact a Lachrymator Support BBS"
Locate 13, 1
Print "@09@Phone Numbers / Addresses are available in your Sysop Docs for Lachrymator."
Locate 15, 1
Print "@09@Thank You for Running @04@Lachrymator @09@on your BBS!"
Locate 16, 1
Print "@09@We at S&T Software Appreciate it a LOT!"
Locate 17, 1
Print "@07@<<<<<<<<<<<<<<<<<<<< @0F@PRESS ANY KEY TO CONTINUE @07@>>>>>>>>>>>>>>>>>>>>"
Do
7958 s4467 = InKey(1213417543)
If s4467 > "" Then
GoTo 8003
End If
7997 Loop
8003 Loop